//--ZZProfIt--
/**********************************************************************
  The MIT License (MIT)
  Copyright (c) 2012 sunriseyuen

  Permission is hereby granted, free of charge, to any person obtaining
  a copy of this software and associated documentation files
  (the "Software"), to deal in the Software without restriction,
  including without limitation the rights to use, copy, modify, merge,
  publish, distribute, sublicense, and/or sell copies of the Software,
  and to permit persons to whom the Software is furnished to do so,
  subject to the following conditions:

  The above copyright notice and this permission notice shall be included
  in all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
  THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 ***********************************************************************/
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;

using Dot.StreamObject;

namespace Muki.Entity
{
	[Serializable]
		[AttributeMapping(TableName="PORDTLM")]
		public class PORDTLMEntity: EntityObject
		{


#region Field
				private	string _ITEM_NO="";
				private	decimal _PO_BAL_QTY=0;
				private	string _PO_DT="";
				private	string _PO_DT_RMKS="";
				private	string _PO_ITEM_NAME01="";
				private	string _PO_ITEM_NAME02="";
				private	string _PO_ITEM_NAME03="";
				private	string _PO_ITEM_NAME04="";
				private	string _PO_ITEM_NAME05="";
				private	string _PO_NO="";
				private	decimal _PO_REC_QTY=0;
				private	DateTime _PO_REQ_DATE=DateTime.MinValue;
				private	decimal _PO_REQ_QTY=0;
				private	decimal _PO_RTV_QTY=0;
				private	decimal _PO_UNIT_PRICE=0;
				private	decimal _PU_REQ_QTY=0;
				private	decimal _PU_UNIT_PRICE=0;
				private	string _PU_UOM_CODE="";
				private	Int32 _SERIAL_NO=0;
				private	string _TRANS_UDFX1="";
				private	string _TRANS_UDFX2="";
				private	string _TRANS_UDFX3="";
				private	string _TRANS_UDFX4="";
				private	decimal _UNIT_RATE=0;
				private	string _UOM_CODE="";
				private	decimal _UOM_XCHG=0;
				private	string _VEN_CODE="";
				private	string _WH_CODE="";
				private	DateTime _ZADD_DATE=DateTime.MinValue;
				private	string _ZADD_USER="";
				private	DateTime _ZCHG_DATE=DateTime.MinValue;
				private	string _ZCHG_FLAG="";
				private	string _ZCHG_USER="";
				private	string _ZSECURITY_CODE1="";
				private	string _ZSECURITY_CODE2="";
				private	string _ZSECURITY_CODE3="";
				private	string _ZSECURITY_CODE4="";
				private	string _ZSECURITY_CODE5="";
				private	string _ZSECURITY_CODE6="";
				private	Int32 _ZSECURITY_RIGHT=0;
#endregion

#region Properties
				//<Summary>
				//PORDTLM,ITEM_NO
				//</Summary>
				public string ITEM_NO
				{
					get { return _ITEM_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ITEM_NO)
							{
								_ITEM_NO = value; 
								this.PropertyChange("ITEM_NO");
							}
						}else{
							_ITEM_NO = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,PO_BAL_QTY
				//</Summary>
				public decimal PO_BAL_QTY
				{
					get { return _PO_BAL_QTY; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PO_BAL_QTY)
							{
								_PO_BAL_QTY = value; 
								this.PropertyChange("PO_BAL_QTY");
							}
						}else{
							_PO_BAL_QTY = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,PO_DT
				//</Summary>
					[AttributeMapping(PrimaryKey=true)]
				public string PO_DT
				{
					get { return _PO_DT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PO_DT)
							{
								_PO_DT = value; 
								this.PropertyChange("PO_DT");
							}
						}else{
							_PO_DT = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,PO_DT_RMKS
				//</Summary>
				public string PO_DT_RMKS
				{
					get { return _PO_DT_RMKS; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PO_DT_RMKS)
							{
								_PO_DT_RMKS = value; 
								this.PropertyChange("PO_DT_RMKS");
							}
						}else{
							_PO_DT_RMKS = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,PO_ITEM_NAME01
				//</Summary>
				public string PO_ITEM_NAME01
				{
					get { return _PO_ITEM_NAME01; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PO_ITEM_NAME01)
							{
								_PO_ITEM_NAME01 = value; 
								this.PropertyChange("PO_ITEM_NAME01");
							}
						}else{
							_PO_ITEM_NAME01 = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,PO_ITEM_NAME02
				//</Summary>
				public string PO_ITEM_NAME02
				{
					get { return _PO_ITEM_NAME02; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PO_ITEM_NAME02)
							{
								_PO_ITEM_NAME02 = value; 
								this.PropertyChange("PO_ITEM_NAME02");
							}
						}else{
							_PO_ITEM_NAME02 = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,PO_ITEM_NAME03
				//</Summary>
				public string PO_ITEM_NAME03
				{
					get { return _PO_ITEM_NAME03; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PO_ITEM_NAME03)
							{
								_PO_ITEM_NAME03 = value; 
								this.PropertyChange("PO_ITEM_NAME03");
							}
						}else{
							_PO_ITEM_NAME03 = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,PO_ITEM_NAME04
				//</Summary>
				public string PO_ITEM_NAME04
				{
					get { return _PO_ITEM_NAME04; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PO_ITEM_NAME04)
							{
								_PO_ITEM_NAME04 = value; 
								this.PropertyChange("PO_ITEM_NAME04");
							}
						}else{
							_PO_ITEM_NAME04 = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,PO_ITEM_NAME05
				//</Summary>
				public string PO_ITEM_NAME05
				{
					get { return _PO_ITEM_NAME05; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PO_ITEM_NAME05)
							{
								_PO_ITEM_NAME05 = value; 
								this.PropertyChange("PO_ITEM_NAME05");
							}
						}else{
							_PO_ITEM_NAME05 = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,PO_NO
				//</Summary>
				public string PO_NO
				{
					get { return _PO_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PO_NO)
							{
								_PO_NO = value; 
								this.PropertyChange("PO_NO");
							}
						}else{
							_PO_NO = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,PO_REC_QTY
				//</Summary>
				public decimal PO_REC_QTY
				{
					get { return _PO_REC_QTY; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PO_REC_QTY)
							{
								_PO_REC_QTY = value; 
								this.PropertyChange("PO_REC_QTY");
							}
						}else{
							_PO_REC_QTY = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,PO_REQ_DATE
				//</Summary>
				public DateTime PO_REQ_DATE
				{
					get { return _PO_REQ_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PO_REQ_DATE)
							{
								_PO_REQ_DATE = value; 
								this.PropertyChange("PO_REQ_DATE");
							}
						}else{
							_PO_REQ_DATE = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,PO_REQ_QTY
				//</Summary>
				public decimal PO_REQ_QTY
				{
					get { return _PO_REQ_QTY; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PO_REQ_QTY)
							{
								_PO_REQ_QTY = value; 
								this.PropertyChange("PO_REQ_QTY");
							}
						}else{
							_PO_REQ_QTY = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,PO_RTV_QTY
				//</Summary>
				public decimal PO_RTV_QTY
				{
					get { return _PO_RTV_QTY; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PO_RTV_QTY)
							{
								_PO_RTV_QTY = value; 
								this.PropertyChange("PO_RTV_QTY");
							}
						}else{
							_PO_RTV_QTY = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,PO_UNIT_PRICE
				//</Summary>
				public decimal PO_UNIT_PRICE
				{
					get { return _PO_UNIT_PRICE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PO_UNIT_PRICE)
							{
								_PO_UNIT_PRICE = value; 
								this.PropertyChange("PO_UNIT_PRICE");
							}
						}else{
							_PO_UNIT_PRICE = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,PU_REQ_QTY
				//</Summary>
				public decimal PU_REQ_QTY
				{
					get { return _PU_REQ_QTY; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PU_REQ_QTY)
							{
								_PU_REQ_QTY = value; 
								this.PropertyChange("PU_REQ_QTY");
							}
						}else{
							_PU_REQ_QTY = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,PU_UNIT_PRICE
				//</Summary>
				public decimal PU_UNIT_PRICE
				{
					get { return _PU_UNIT_PRICE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PU_UNIT_PRICE)
							{
								_PU_UNIT_PRICE = value; 
								this.PropertyChange("PU_UNIT_PRICE");
							}
						}else{
							_PU_UNIT_PRICE = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,PU_UOM_CODE
				//</Summary>
				public string PU_UOM_CODE
				{
					get { return _PU_UOM_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PU_UOM_CODE)
							{
								_PU_UOM_CODE = value; 
								this.PropertyChange("PU_UOM_CODE");
							}
						}else{
							_PU_UOM_CODE = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,SERIAL_NO
				//</Summary>
				public Int32 SERIAL_NO
				{
					get { return _SERIAL_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_SERIAL_NO)
							{
								_SERIAL_NO = value; 
								this.PropertyChange("SERIAL_NO");
							}
						}else{
							_SERIAL_NO = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,TRANS_UDFX1
				//</Summary>
				public string TRANS_UDFX1
				{
					get { return _TRANS_UDFX1; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_TRANS_UDFX1)
							{
								_TRANS_UDFX1 = value; 
								this.PropertyChange("TRANS_UDFX1");
							}
						}else{
							_TRANS_UDFX1 = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,TRANS_UDFX2
				//</Summary>
				public string TRANS_UDFX2
				{
					get { return _TRANS_UDFX2; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_TRANS_UDFX2)
							{
								_TRANS_UDFX2 = value; 
								this.PropertyChange("TRANS_UDFX2");
							}
						}else{
							_TRANS_UDFX2 = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,TRANS_UDFX3
				//</Summary>
				public string TRANS_UDFX3
				{
					get { return _TRANS_UDFX3; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_TRANS_UDFX3)
							{
								_TRANS_UDFX3 = value; 
								this.PropertyChange("TRANS_UDFX3");
							}
						}else{
							_TRANS_UDFX3 = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,TRANS_UDFX4
				//</Summary>
				public string TRANS_UDFX4
				{
					get { return _TRANS_UDFX4; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_TRANS_UDFX4)
							{
								_TRANS_UDFX4 = value; 
								this.PropertyChange("TRANS_UDFX4");
							}
						}else{
							_TRANS_UDFX4 = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,UNIT_RATE
				//</Summary>
				public decimal UNIT_RATE
				{
					get { return _UNIT_RATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_UNIT_RATE)
							{
								_UNIT_RATE = value; 
								this.PropertyChange("UNIT_RATE");
							}
						}else{
							_UNIT_RATE = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,UOM_CODE
				//</Summary>
				public string UOM_CODE
				{
					get { return _UOM_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_UOM_CODE)
							{
								_UOM_CODE = value; 
								this.PropertyChange("UOM_CODE");
							}
						}else{
							_UOM_CODE = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,UOM_XCHG
				//</Summary>
				public decimal UOM_XCHG
				{
					get { return _UOM_XCHG; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_UOM_XCHG)
							{
								_UOM_XCHG = value; 
								this.PropertyChange("UOM_XCHG");
							}
						}else{
							_UOM_XCHG = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,VEN_CODE
				//</Summary>
				public string VEN_CODE
				{
					get { return _VEN_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_VEN_CODE)
							{
								_VEN_CODE = value; 
								this.PropertyChange("VEN_CODE");
							}
						}else{
							_VEN_CODE = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,WH_CODE
				//</Summary>
				public string WH_CODE
				{
					get { return _WH_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_WH_CODE)
							{
								_WH_CODE = value; 
								this.PropertyChange("WH_CODE");
							}
						}else{
							_WH_CODE = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,ZADD_DATE
				//</Summary>
				public DateTime ZADD_DATE
				{
					get { return _ZADD_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZADD_DATE)
							{
								_ZADD_DATE = value; 
								this.PropertyChange("ZADD_DATE");
							}
						}else{
							_ZADD_DATE = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,ZADD_USER
				//</Summary>
				public string ZADD_USER
				{
					get { return _ZADD_USER; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZADD_USER)
							{
								_ZADD_USER = value; 
								this.PropertyChange("ZADD_USER");
							}
						}else{
							_ZADD_USER = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,ZCHG_DATE
				//</Summary>
				public DateTime ZCHG_DATE
				{
					get { return _ZCHG_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_DATE)
							{
								_ZCHG_DATE = value; 
								this.PropertyChange("ZCHG_DATE");
							}
						}else{
							_ZCHG_DATE = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,ZCHG_FLAG
				//</Summary>
				public string ZCHG_FLAG
				{
					get { return _ZCHG_FLAG; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_FLAG)
							{
								_ZCHG_FLAG = value; 
								this.PropertyChange("ZCHG_FLAG");
							}
						}else{
							_ZCHG_FLAG = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,ZCHG_USER
				//</Summary>
				public string ZCHG_USER
				{
					get { return _ZCHG_USER; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_USER)
							{
								_ZCHG_USER = value; 
								this.PropertyChange("ZCHG_USER");
							}
						}else{
							_ZCHG_USER = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,ZSECURITY_CODE1
				//</Summary>
				public string ZSECURITY_CODE1
				{
					get { return _ZSECURITY_CODE1; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE1)
							{
								_ZSECURITY_CODE1 = value; 
								this.PropertyChange("ZSECURITY_CODE1");
							}
						}else{
							_ZSECURITY_CODE1 = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,ZSECURITY_CODE2
				//</Summary>
				public string ZSECURITY_CODE2
				{
					get { return _ZSECURITY_CODE2; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE2)
							{
								_ZSECURITY_CODE2 = value; 
								this.PropertyChange("ZSECURITY_CODE2");
							}
						}else{
							_ZSECURITY_CODE2 = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,ZSECURITY_CODE3
				//</Summary>
				public string ZSECURITY_CODE3
				{
					get { return _ZSECURITY_CODE3; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE3)
							{
								_ZSECURITY_CODE3 = value; 
								this.PropertyChange("ZSECURITY_CODE3");
							}
						}else{
							_ZSECURITY_CODE3 = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,ZSECURITY_CODE4
				//</Summary>
				public string ZSECURITY_CODE4
				{
					get { return _ZSECURITY_CODE4; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE4)
							{
								_ZSECURITY_CODE4 = value; 
								this.PropertyChange("ZSECURITY_CODE4");
							}
						}else{
							_ZSECURITY_CODE4 = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,ZSECURITY_CODE5
				//</Summary>
				public string ZSECURITY_CODE5
				{
					get { return _ZSECURITY_CODE5; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE5)
							{
								_ZSECURITY_CODE5 = value; 
								this.PropertyChange("ZSECURITY_CODE5");
							}
						}else{
							_ZSECURITY_CODE5 = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,ZSECURITY_CODE6
				//</Summary>
				public string ZSECURITY_CODE6
				{
					get { return _ZSECURITY_CODE6; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE6)
							{
								_ZSECURITY_CODE6 = value; 
								this.PropertyChange("ZSECURITY_CODE6");
							}
						}else{
							_ZSECURITY_CODE6 = value; 
						}
					}
				}
				//<Summary>
				//PORDTLM,ZSECURITY_RIGHT
				//</Summary>
				public Int32 ZSECURITY_RIGHT
				{
					get { return _ZSECURITY_RIGHT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_RIGHT)
							{
								_ZSECURITY_RIGHT = value; 
								this.PropertyChange("ZSECURITY_RIGHT");
							}
						}else{
							_ZSECURITY_RIGHT = value; 
						}
					}
				}
#endregion
		}
}
